﻿@model shenkong.Models.RepairRecord

@{
    ViewData["Title"] = "Edit";
}

<h1>处理</h1>

<h4>报修处理</h4>
<hr />
<div class="row">
    <div class="col-md-4">
        <form asp-action="Edit">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
          <input type="hidden" asp-for="RepairId" />
            <div class="form-group">
                <label asp-for="WorkId" class="control-label">维修员工</label>
                <input asp-for="WorkId" class="form-control" value="@User.Identity?.Name" />
                <span asp-validation-for="WorkId" class="text-danger"></span>
            </div>
            <div class="form-group">

                <label asp-for="Zhuangtai" class="control-label">处理进度</label>
                <select asp-for="Zhuangtai" class="form-control">
                    <option>已受理</option>
                    <option>已完成</option>
                </select>
                <span asp-validation-for="Zhuangtai" class="text-danger"></span>
            </div>
            <div class="form-group">
                <input type="submit" value="受理" class="btn btn-primary" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-action="Index">返回</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
